#include <string>
#include <stdio.h>
#include <stdlib.h>

#include "Lecturer_lib.h"

int main(){
/* 	string inp;
	Course c[100];
	int i, count = 0;

	ReadCourse("schedule.txt", c, count);
	if(CheckConflictLecturer(c, count) + CheckConflictRoom(c, count) > 0){
		cout<<"Resolve Conflict first!";
	}
	else{
		printCalendar(c, count, 0);
	}
	
	vector<DataRow> data = getCalendarVector(c, count, 1);
	for(i = 0; i<data.capacity(); i++){
		data[i].ToString();
	} */
	int i;
	string file = "lecturer.txt";
	vector<Lecturer> out = getLecturersByName("Nguyen", file);
	cout<<out.capacity()<<"\n";
	for(i = 0; i < out.capacity()-1; i++){
		out[i].Show();
	}
	system("pause");
	return 0;
}